package com.example.tests;

import org.testng.annotations.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import com.example.fw.Folders;

public class TestFolderDeletion extends TestBase{
       

        @Test
    public void testFolderRemoval () {
                Folders oldFolders = app.getFolderHelper().getFolders();
        app.getFolderHelper().deleteFolder(0);
        Folders newFolders = app.getFolderHelper().getFolders();
        assertThat(newFolders, equalTo(oldFolders.withDeleted(0)));
        }
}
